#
# Be sure to run `pod lib lint FaceSDK_FaceIDV1.0.0_MegLiveV2.4.5I_BasicV2.0.0.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
  s.name             = 'FaceSDK_FaceIDV1.0.0_MegLiveV2.4.5I_BasicV2.0.0'
  s.version          = '0.1.1'
  s.summary          = 'FaceSDK---老版 FaceSDK_FaceIDV1.0.0_MegLiveV2.4.5I_BasicV2.0.0.'

# This description is used to generate tags and improve search results.
#   * Think: What does it do? Why did you write it? What is the focus?
#   * Try to keep it short, snappy and to the point.
#   * Write the description between the DESC delimiters below.
#   * Finally, don't worry about the indent, CocoaPods strips it!

  s.description      = <<-DESC
FaceSDK_FaceIDV1.0.0_MegLiveV2.4.5I_BasicV2.0.0
                       DESC

  s.homepage         = 'https://github.com/miaoliujie@xianjincard.com/FaceSDK_FaceIDV1.0.0_MegLiveV2.4.5I_BasicV2.0.0'
  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { 'miaoliujie@xianjincard.com' => 'miaoliujie@xianjincard.com' }
  s.source           = { :git => 'https://gitee.com/heyuefengyun/FaceSDK_FaceIDV1.0.0_MegLiveV2.4.5I_BasicV2.0.0.git', :tag => s.version.to_s }
  # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'

  s.ios.deployment_target = '8.0'

  #s.source_files = 'FaceSDK_FaceIDV1.0.0_MegLiveV2.4.5I_BasicV2.0.0/Classes/**/*'
  #s.source_files = 'FaceSDK/Classes/**/*'
  s.resources = [#加入到mainbundle
  #活体检测资源
  'FaceSDK_FaceIDV1.0.0_MegLiveV2.4.5I_BasicV2.0.0/Classes/MGLivenessDetectionResource.bundle',
  #身份证检测资源
  'FaceSDK/Classes/MGIDCardResource.bundle',
  ]
  s.ios.vendored_frameworks = [
  #基础库
  'FaceSDK_FaceIDV1.0.0_MegLiveV2.4.5I_BasicV2.0.0/Classes/MGBaseKit.framework',
  #活体检测库
  'FaceSDK_FaceIDV1.0.0_MegLiveV2.4.5I_BasicV2.0.0/Classes/MGLivenessDetection.framework',
  #身份证检测库
  'FaceSDK_FaceIDV1.0.0_MegLiveV2.4.5I_BasicV2.0.0/Classes/MGIDCard.framework'
  ]
  s.frameworks = 'AVFoundation','CoreMedia','CoreMotion','SystemConfiguration'
  s.libraries = 'c++'
  s.pod_target_xcconfig =   {'OTHER_LDFLAGS' => [
      '-lObjC','-ObjC'
      ]
  }
  s.user_target_xcconfig =   {'OTHER_LDFLAGS' => [
      '-lObjC','-ObjC'
      ]
  }
  
  # s.resource_bundles = {
  #   'FaceSDK_FaceIDV1.0.0_MegLiveV2.4.5I_BasicV2.0.0' => ['FaceSDK_FaceIDV1.0.0_MegLiveV2.4.5I_BasicV2.0.0/Assets/*.png']
  # }

  # s.public_header_files = 'Pod/Classes/**/*.h'
  # s.frameworks = 'UIKit', 'MapKit'
  # s.dependency 'AFNetworking', '~> 2.3'
end
